package com.zh.domain.vo.bug;

import com.zh.domain.entity.Bug;
import com.zh.domain.entity.Project;
import com.zh.domain.vo.user.UserVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@ApiModel(value = "BugVo", description = "缺陷视图对象")
public class BugVo extends Bug {
    @ApiModelProperty("创建人信息")
    private UserVO creator;
    @ApiModelProperty("缺陷负责人信息")
    private UserVO owner;
    @ApiModelProperty("更新人信息")
    private UserVO updater;
    @ApiModelProperty("项目名称")
    private String projectTitle;
    @ApiModelProperty("里程碑名称")
    private String milestoneTitle;
    @ApiModelProperty("迭代名称")
    private String iterationTitle;
    @ApiModelProperty("需求名称")
    private String RequirementTitle;
    @ApiModelProperty("任务名称")
    private String TaskTitle;
}
